package com.baizhi.service;

import com.baizhi.entity.Admin;

import java.util.List;

public interface AdminService {
    public boolean login(String username,String password);
    public Admin selectByName(String username);
    public List<Admin> selectAll();
    public void deleteById(Integer id);
    public void update(Admin admin);
    public void insert(Admin admin);
}
